<?php defined('IN_IA') or exit('Access Denied');?><?php  include $this->template('common/header', TEMPLATE_INCLUDEPATH);?>

<div class="main">
	<div class="search">
		<h4 class="sub-title">下发优惠券</h4>
		<form action="" method="post" onsubmit="">
			<table class="table table-bordered tb">
				<tbody>
					<tr>
						<td>
							<select name="type">
                            <option value="">请选择</option>
                            <?php  if(is_array($list)) { foreach($list as $row) { ?>
                            <option value="<?php  echo $row['id'];?>"><?php  echo $row['title'];?></option>
                            <?php  } } ?>
                        </select>
						</td>
					</tr>
					<tr class="search-submit">
						<td colspan="2">
							<input type="submit" name="submit" value="下发" class="btn btn-primary" />
							<input type="hidden" name="token" value="<?php  echo $_W['token'];?>" />
                            <input type="hidden" name="user_id" value="<?php  echo $user_row['id'];?>" />
                            <input type="hidden" name="nickname" value="<?php  echo $user_row['nickname'];?>" />
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
</div>
<?php  include $this->template('common/footer', TEMPLATE_INCLUDEPATH);?>
